//#include "ListFileMultiMedia.h"
#pragma once
#include "GraphicsFullScreenVideo.h"
#include "MediaObject.h"
#include "SGdiPlusBitmapButton.h"
#include "SliderVolumeDlg.h"
#include "BitmapSlider.h"

class GraphicControlMedia:public CWnd
{
	DECLARE_DYNAMIC(GraphicControlMedia)
public:
	 GraphicControlMedia(void);
	~GraphicControlMedia(void);


	DECLARE_MESSAGE_MAP()
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnPaint();
	static GraphicControlMedia* ShareInstance();

public:
	SGdiPlusBitmapButton m_btnPlayPause;
	SGdiPlusBitmapButton m_btnStop;
	SGdiPlusBitmapButton m_btnNext;
	SGdiPlusBitmapButton m_btnPrevious;
	CButton m_btnFullScreen;
	CStatic m_stcTimePlaying;
	CStatic m_stcTab;
	CStatic m_stcTimeTotal;
	CButton m_btncheckLoop;
	SGdiPlusBitmapButton m_btncheckmute;
	//CSliderCtrl m_SliderSeeking;
	CBitmapSlider m_SliderSeeking;
	//CSliderCtrl m_SliderVolume;
	
	GraphicsFullScreenVideo   m_fullScreen;

	
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);

	afx_msg void OnBnClickedFullScreen();
	afx_msg void OnBnClickedPlayPause();
	afx_msg void OnBnClickedStop();
	afx_msg void OnBnClickedNext();
	afx_msg void OnBnClickedMute();
	afx_msg void OnBnClickedPrevious();
	afx_msg void OnNMReleasedcaptureSldSeekBar(NMHDR *pNMHDR, LRESULT *pResult);
	afx_msg void OnNMReleasedcaptureSldVolume(NMHDR *pNMHDR, LRESULT *pResult);

};
